package com.qigao.mall.web.vo.admin.sys;

import com.qigao.mall.jdbc.model.SysRoleResource;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Date:2017/12/25 0025 14:46
 * @Author lu.dong
 * @Description：
 **/
@Data
@NoArgsConstructor
@ApiModel(value = "角色操作实体 SysRoleResourceVo")
public class SysRoleResourceUpdateVo {
    @ApiModelProperty("角色编号")
    @NotNull(message = "角色编号不能为空!")
    private String roleCode;
    @ApiModelProperty("角色资源列表")
    private List<String> resourceNoLists;
}
